package com.xiaotu.service;

import com.xiaotu.dto.CoordinateDto;
import com.xiaotu.handler.BattleHandler;

import javax.websocket.Session;
import java.util.List;

/**
 * @author zhangxiao
 * @create 2022-04-19 11:33
 */
public interface BattleHandlerService {

    void saveCoordinate(CoordinateDto coordinateDto);

    void closeRoom(Integer roomId, List<Session> playerList);

}
